
using Microsoft.EntityFrameworkCore;
using NetCourse.Framework.Database;

namespace Xmu.Stores.Models
{
    public class UserRepository: IScopedDependency
    {
        public NetContext DbContex { get; set; }
        public UserRepository(NetContext dbContex) {
            DbContex = dbContex;
        }
        public DbSet<User> Users => DbContex.Set<User>();
    }
}